package cc.comac.mom.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import cc.comac.mom.api.EquipRepairOpRecordService;
import cc.comac.mom.bean.EquipRepairOpRecord;
import cc.comac.mom.util.ResultBean;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping(value ="/EquipRepairOpRecord")
public class EquipRepairOpRecordController {
	@Autowired
	private EquipRepairOpRecordService equipRepairOpRecordService;

	@ApiOperation("查询维修操作记录")
	@RequestMapping(value = "/selectByCondition",method = RequestMethod.POST)
	public ResultBean selectByCondition(@RequestBody EquipRepairOpRecord obj) {
		return equipRepairOpRecordService.selectByCondition(obj);
	}
}
